From 20bd9d223fcd9181607993fc4a5b949e64f9b9f6 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Tue, 3 Dec 2024 15:19:25 +0100 Subject: [PATCH] luci-app-acl: also grand read access to luci-mod-status-index If a new user is created, 'luci-mod-status-index' should also be selected, as this is the start page after login. If a user is created without this, only a 404 is displayed. Signed-off-by: Florian Eckert --- .../htdocs/luci-static/resources/view/system/acl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/luci-app-acl/htdocs/luci-static/resources/view/system/acl.js b/applications/luci-app-acl/htdocs/luci-static/resources/view/system/acl.js index f62f17fd4d..3762575c85 100644 --- a/applications/luci-app-acl/htdocs/luci-static/resources/view/system/acl.js +++ b/applications/luci-app-acl/htdocs/luci-static/resources/view/system/acl.js @@ -98,7 +98,7 @@ var cbiACLSelect = form.Value.extend({ ]); Object.keys(aclList).sort().forEach(function(aclGroupName) { - var isRequired = (aclGroupName == 'unauthenticated' || aclGroupName == 'luci-base'), + var isRequired = (aclGroupName == 'unauthenticated' || aclGroupName == 'luci-base' || aclGroupName == 'luci-mod-status-index'), isReadable = (readMatches[0].test(aclGroupName) && !readMatches[1].test(aclGroupName)) || null, isWritable = (writeMatches[0].test(aclGroupName) && !writeMatches[1].test(aclGroupName)) || null; -- 2.30.2